package com.chengcang.api.modules.sys.dto;

import com.chengcang.common.utils.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 *
 * @author Zhanli xy321231@163.com
 * @since 1.0.0 2023-01-14
 */
@Data
@ApiModel(value = "")
public class SysProductTypeDTO extends TreeNode implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	private Long id;

	@ApiModelProperty(value = "父id")
	private Long pid;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "使用状态")
	private Integer status;

	@ApiModelProperty(value = "排序")
	private Integer sort;

	@ApiModelProperty(value = "层级")
	private Integer level;

	@ApiModelProperty(value = "创建人员")
	private Long creator;

	@ApiModelProperty(value = "更新人员")
	private Long updater;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "更新时间")
	private Date updateDate;

	@ApiModelProperty(value = "0 有效 1 无效")
	private Integer deleted;

}